from django.urls import path
from . import views
from . import api_views

urlpatterns = [
    path('', views.login_view, name='login'),
    path('login/', views.login_view, name='login'),
    path('course-schedule/', views.course_schedule_view, name='course_schedule'),
    path('grades/', views.grades_view, name='grades'),
    path('logout/', views.logout_view, name='logout'),
    # 前端页面
    path('bilibili/extract/', views.bilibili_extract_page, name='bilibili_extract_page'),
    path('bilibili/summarize/', views.bilibili_summarize_page, name='bilibili_summarize_page'),
    # API合集 - Bilibili
    path('api/bilibili/extract/', api_views.bilibili_extract, name='api_bilibili_extract'),
    path('api/bilibili/summarize/', api_views.bilibili_summarize, name='api_bilibili_summarize'),
]
